package com.study.spmongodb.wwj.thread.char02;

/**
 * @author MI
 * @version 1.0
 * @date 2020/12/5 22:03
 */
public class BankVerson2 {

    public static void main(String[] args) {

        final TickWindowRunnable tickWindowRunnable = new TickWindowRunnable();

        final Thread thread = new Thread(tickWindowRunnable, " 1号窗口");
        final Thread thread2 = new Thread(tickWindowRunnable, " 2号窗口");
        final Thread thread3 = new Thread(tickWindowRunnable, " 3号窗口");
        thread.start();
        thread2.start();
        thread3.start();
    }
}
